//
//  JJTwoViewController.m
//  testP
//
//  Created by 陈家将 on 16/7/14.
//  Copyright © 2016年 chenjiajiang. All rights reserved.
//

#import "JJTwoViewController.h"

@interface JJTwoViewController ()

@end

@implementation JJTwoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    /* =======================
     1. 如果这里的title与tabBarController初始化添加子控制器时的不一样,就会出现次问题;一样则不会出现;这里的修改既修改了底部tabBar的item标题,也修改了顶部导航栏的标题.
     2. 拓展,修改图片也一样
     
     3.此处在程序运行时该控制器的barItem位置正确,但是点击一次后就跑到最后去了
     ========================*/
    self.tabBarItem.title = @"精华diff";
    self.tabBarItem.image = [UIImage imageNamed:@"tabBar_essence_icon"];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
 #pragma mark - Navigation
 
 // In a storyboard-based application, you will often want to do a little preparation before navigation
 - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
 // Get the new view controller using [segue destinationViewController].
 // Pass the selected object to the new view controller.
 }
 */

@end
